package com.grass.appointment;

import android.util.SparseArray;
import android.util.SparseIntArray;
import android.view.View;
import androidx.databinding.DataBinderMapper;
import androidx.databinding.DataBindingComponent;
import androidx.databinding.ViewDataBinding;
import com.androidx.p013lv.base.interfaces.Key;
import com.google.android.exoplayer2.text.ttml.TtmlNode;
import com.grass.appointment.databinding.ActivityCitySelectLayoutBindingImpl;
import com.grass.appointment.databinding.ActivityDynamicPlayBindingImpl;
import com.grass.appointment.databinding.ActivityEngagementLayoutBindingImpl;
import com.grass.appointment.databinding.ActivityOfficialLayoutBindingImpl;
import com.grass.appointment.databinding.ActivitySendDynamicLayoutBindingImpl;
import com.grass.appointment.databinding.ActivityUserInfoLayoutBindingImpl;
import com.grass.appointment.databinding.AppointmentRecyclerLayoutBindingImpl;
import com.grass.appointment.databinding.AppointmentUserDetailsBindingImpl;
import com.grass.appointment.databinding.FragmentAppointmentDataBindingImpl;
import com.grass.appointment.databinding.FragmentAppointmentDynamicBindingImpl;
import com.grass.appointment.databinding.FragmentDynamicBindingImpl;
import com.grass.appointment.databinding.FragmentDynamicTypeBindingImpl;
import com.grass.appointment.databinding.FragmentOfficialBindingImpl;
import com.grass.appointment.databinding.FragmentSquareBindingImpl;
import com.lzy.okgo.cookie.SerializableCookie;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

public class DataBinderMapperImpl extends DataBinderMapper {
    private static final SparseIntArray INTERNAL_LAYOUT_ID_LOOKUP;
    private static final int LAYOUT_ACTIVITYCITYSELECTLAYOUT = 1;
    private static final int LAYOUT_ACTIVITYDYNAMICPLAY = 2;
    private static final int LAYOUT_ACTIVITYENGAGEMENTLAYOUT = 3;
    private static final int LAYOUT_ACTIVITYOFFICIALLAYOUT = 4;
    private static final int LAYOUT_ACTIVITYSENDDYNAMICLAYOUT = 5;
    private static final int LAYOUT_ACTIVITYUSERINFOLAYOUT = 6;
    private static final int LAYOUT_APPOINTMENTRECYCLERLAYOUT = 7;
    private static final int LAYOUT_APPOINTMENTUSERDETAILS = 8;
    private static final int LAYOUT_FRAGMENTAPPOINTMENTDATA = 9;
    private static final int LAYOUT_FRAGMENTAPPOINTMENTDYNAMIC = 10;
    private static final int LAYOUT_FRAGMENTDYNAMIC = 11;
    private static final int LAYOUT_FRAGMENTDYNAMICTYPE = 12;
    private static final int LAYOUT_FRAGMENTOFFICIAL = 13;
    private static final int LAYOUT_FRAGMENTSQUARE = 14;

    static {
        SparseIntArray sparseIntArray = new SparseIntArray(14);
        INTERNAL_LAYOUT_ID_LOOKUP = sparseIntArray;
        sparseIntArray.put(C2694R.C2699layout.activity_city_select_layout, 1);
        INTERNAL_LAYOUT_ID_LOOKUP.put(C2694R.C2699layout.activity_dynamic_play, 2);
        INTERNAL_LAYOUT_ID_LOOKUP.put(C2694R.C2699layout.activity_engagement_layout, 3);
        INTERNAL_LAYOUT_ID_LOOKUP.put(C2694R.C2699layout.activity_official_layout, 4);
        INTERNAL_LAYOUT_ID_LOOKUP.put(C2694R.C2699layout.activity_send_dynamic_layout, 5);
        INTERNAL_LAYOUT_ID_LOOKUP.put(C2694R.C2699layout.activity_user_info_layout, 6);
        INTERNAL_LAYOUT_ID_LOOKUP.put(C2694R.C2699layout.appointment_recycler_layout, 7);
        INTERNAL_LAYOUT_ID_LOOKUP.put(C2694R.C2699layout.appointment_user_details, 8);
        INTERNAL_LAYOUT_ID_LOOKUP.put(C2694R.C2699layout.fragment_appointment_data, 9);
        INTERNAL_LAYOUT_ID_LOOKUP.put(C2694R.C2699layout.fragment_appointment_dynamic, 10);
        INTERNAL_LAYOUT_ID_LOOKUP.put(C2694R.C2699layout.fragment_dynamic, 11);
        INTERNAL_LAYOUT_ID_LOOKUP.put(C2694R.C2699layout.fragment_dynamic_type, 12);
        INTERNAL_LAYOUT_ID_LOOKUP.put(C2694R.C2699layout.fragment_official, 13);
        INTERNAL_LAYOUT_ID_LOOKUP.put(C2694R.C2699layout.fragment_square, 14);
    }

    @Override // androidx.databinding.DataBinderMapper
    public ViewDataBinding getDataBinder(DataBindingComponent dataBindingComponent, View view, int i) {
        int i2 = INTERNAL_LAYOUT_ID_LOOKUP.get(i);
        if (i2 <= 0) {
            return null;
        }
        Object tag = view.getTag();
        if (tag != null) {
            switch (i2) {
                case 1:
                    if ("layout/activity_city_select_layout_0".equals(tag)) {
                        return new ActivityCitySelectLayoutBindingImpl(dataBindingComponent, view);
                    }
                    throw new IllegalArgumentException("The tag for activity_city_select_layout is invalid. Received: " + tag);
                case 2:
                    if ("layout/activity_dynamic_play_0".equals(tag)) {
                        return new ActivityDynamicPlayBindingImpl(dataBindingComponent, view);
                    }
                    throw new IllegalArgumentException("The tag for activity_dynamic_play is invalid. Received: " + tag);
                case 3:
                    if ("layout/activity_engagement_layout_0".equals(tag)) {
                        return new ActivityEngagementLayoutBindingImpl(dataBindingComponent, view);
                    }
                    throw new IllegalArgumentException("The tag for activity_engagement_layout is invalid. Received: " + tag);
                case 4:
                    if ("layout/activity_official_layout_0".equals(tag)) {
                        return new ActivityOfficialLayoutBindingImpl(dataBindingComponent, view);
                    }
                    throw new IllegalArgumentException("The tag for activity_official_layout is invalid. Received: " + tag);
                case 5:
                    if ("layout/activity_send_dynamic_layout_0".equals(tag)) {
                        return new ActivitySendDynamicLayoutBindingImpl(dataBindingComponent, view);
                    }
                    throw new IllegalArgumentException("The tag for activity_send_dynamic_layout is invalid. Received: " + tag);
                case 6:
                    if ("layout/activity_user_info_layout_0".equals(tag)) {
                        return new ActivityUserInfoLayoutBindingImpl(dataBindingComponent, view);
                    }
                    throw new IllegalArgumentException("The tag for activity_user_info_layout is invalid. Received: " + tag);
                case 7:
                    if ("layout/appointment_recycler_layout_0".equals(tag)) {
                        return new AppointmentRecyclerLayoutBindingImpl(dataBindingComponent, view);
                    }
                    throw new IllegalArgumentException("The tag for appointment_recycler_layout is invalid. Received: " + tag);
                case 8:
                    if ("layout/appointment_user_details_0".equals(tag)) {
                        return new AppointmentUserDetailsBindingImpl(dataBindingComponent, view);
                    }
                    throw new IllegalArgumentException("The tag for appointment_user_details is invalid. Received: " + tag);
                case 9:
                    if ("layout/fragment_appointment_data_0".equals(tag)) {
                        return new FragmentAppointmentDataBindingImpl(dataBindingComponent, view);
                    }
                    throw new IllegalArgumentException("The tag for fragment_appointment_data is invalid. Received: " + tag);
                case 10:
                    if ("layout/fragment_appointment_dynamic_0".equals(tag)) {
                        return new FragmentAppointmentDynamicBindingImpl(dataBindingComponent, view);
                    }
                    throw new IllegalArgumentException("The tag for fragment_appointment_dynamic is invalid. Received: " + tag);
                case 11:
                    if ("layout/fragment_dynamic_0".equals(tag)) {
                        return new FragmentDynamicBindingImpl(dataBindingComponent, view);
                    }
                    throw new IllegalArgumentException("The tag for fragment_dynamic is invalid. Received: " + tag);
                case 12:
                    if ("layout/fragment_dynamic_type_0".equals(tag)) {
                        return new FragmentDynamicTypeBindingImpl(dataBindingComponent, view);
                    }
                    throw new IllegalArgumentException("The tag for fragment_dynamic_type is invalid. Received: " + tag);
                case 13:
                    if ("layout/fragment_official_0".equals(tag)) {
                        return new FragmentOfficialBindingImpl(dataBindingComponent, view);
                    }
                    throw new IllegalArgumentException("The tag for fragment_official is invalid. Received: " + tag);
                case 14:
                    if ("layout/fragment_square_0".equals(tag)) {
                        return new FragmentSquareBindingImpl(dataBindingComponent, view);
                    }
                    throw new IllegalArgumentException("The tag for fragment_square is invalid. Received: " + tag);
                default:
                    return null;
            }
        } else {
            throw new RuntimeException("view must have a tag");
        }
    }

    @Override // androidx.databinding.DataBinderMapper
    public ViewDataBinding getDataBinder(DataBindingComponent dataBindingComponent, View[] viewArr, int i) {
        if (viewArr == null || viewArr.length == 0 || INTERNAL_LAYOUT_ID_LOOKUP.get(i) <= 0 || viewArr[0].getTag() != null) {
            return null;
        }
        throw new RuntimeException("view must have a tag");
    }

    @Override // androidx.databinding.DataBinderMapper
    public int getLayoutId(String str) {
        Integer num;
        if (str == null || (num = InnerLayoutIdLookup.sKeys.get(str)) == null) {
            return 0;
        }
        return num.intValue();
    }

    @Override // androidx.databinding.DataBinderMapper
    public String convertBrIdToString(int i) {
        return InnerBrLookup.sKeys.get(i);
    }

    @Override // androidx.databinding.DataBinderMapper
    public List<DataBinderMapper> collectDependencies() {
        ArrayList arrayList = new ArrayList(2);
        arrayList.add(new androidx.databinding.library.baseAdapters.DataBinderMapperImpl());
        arrayList.add(new com.androidx.p013lv.base.DataBinderMapperImpl());
        return arrayList;
    }

    private static class InnerBrLookup {
        static final SparseArray<String> sKeys;

        private InnerBrLookup() {
        }

        static {
            SparseArray<String> sparseArray = new SparseArray<>(109);
            sKeys = sparseArray;
            sparseArray.put(0, "_all");
            sKeys.put(1, "actressName");
            sKeys.put(2, "annId");
            sKeys.put(3, "attentionHe");
            sKeys.put(4, Key.BACK_TITLE);
            sKeys.put(5, "bala");
            sKeys.put(6, "bgImgs");
            sKeys.put(7, "birthday");
            sKeys.put(8, "btnStatus");
            sKeys.put(9, "bu");
            sKeys.put(10, "buy");
            sKeys.put(11, "buyType");
            sKeys.put(12, "canWatch");
            sKeys.put(13, "checkSum");
            sKeys.put(14, "cityAddress");
            sKeys.put(15, "cityCode");
            sKeys.put(16, "cityName");
            sKeys.put(17, "clTicket");
            sKeys.put(18, "click");
            sKeys.put(19, "content");
            sKeys.put(20, "contentId");
            sKeys.put(21, "contentList");
            sKeys.put(22, "contentName");
            sKeys.put(23, "coverImg");
            sKeys.put(24, "createdAt");
            sKeys.put(25, "creator");
            sKeys.put(26, "dynamicNum");
            sKeys.put(27, "editNum");
            sKeys.put(28, "editState");
            sKeys.put(29, "endTime");
            sKeys.put(30, "expiredVip");
            sKeys.put(31, "fakeLikes");
            sKeys.put(32, "fakeScoreNum");
            sKeys.put(33, "fakeShareNum");
            sKeys.put(34, "fakeWatchNum");
            sKeys.put(35, "fameStatus");
            sKeys.put(36, "favoritesNum");
            sKeys.put(37, "feedbackImgs");
            sKeys.put(38, "forbiddenWord");
            sKeys.put(39, "freeVip");
            sKeys.put(40, "freeWatches");
            sKeys.put(41, "gender");
            sKeys.put(42, "gold");
            sKeys.put(43, "headImg");
            sKeys.put(44, "height");
            sKeys.put(45, TtmlNode.ATTR_ID);
            sKeys.put(46, "imgCover");
            sKeys.put(47, "imgDomain");
            sKeys.put(48, "inviteCode");
            sKeys.put(49, "inviteUserNum");
            sKeys.put(50, "isSDKAd");
            sKeys.put(51, "isSearch");
            sKeys.put(52, "isSelf");
            sKeys.put(53, "leaseDays");
            sKeys.put(54, "leaseExpAt");
            sKeys.put(55, "leasePrice");
            sKeys.put(56, "level");
            sKeys.put(57, "like");
            sKeys.put(58, "likeBrush");
            sKeys.put(59, "logo");
            sKeys.put(60, "meetCard");
            sKeys.put(61, "meetLock");
            sKeys.put(62, "meetPrice");
            sKeys.put(63, "mobile");
            sKeys.put(64, SerializableCookie.NAME);
            sKeys.put(65, "nickName");
            sKeys.put(66, "num");
            sKeys.put(67, "official");
            sKeys.put(68, "personSign");
            sKeys.put(69, "phone");
            sKeys.put(70, "playTime");
            sKeys.put(71, "previewUrl");
            sKeys.put(72, "price");
            sKeys.put(73, "provinceCode");
            sKeys.put(74, "provinceName");
            sKeys.put(75, "purVideosNum");
            sKeys.put(76, "qq");
            sKeys.put(77, "reason");
            sKeys.put(78, "reasonType");
            sKeys.put(79, "recAt");
            sKeys.put(80, "recScore");
            sKeys.put(81, "recharge");
            sKeys.put(82, "score");
            sKeys.put(83, "scored");
            sKeys.put(84, "size");
            sKeys.put(85, "sortNum");
            sKeys.put(86, "startTime");
            sKeys.put(87, "status");
            sKeys.put(88, "statusRefresh");
            sKeys.put(89, "studioIds");
            sKeys.put(90, "svip");
            sKeys.put(91, Key.TITLE);
            sKeys.put(92, Key.TOKEN);
            sKeys.put(93, "type");
            sKeys.put(94, "ua");
            sKeys.put(95, "updatedAt");
            sKeys.put(96, Key.USER_ID);
            sKeys.put(97, "userInfo");
            sKeys.put(98, "userType");
            sKeys.put(99, "vIP");
            sKeys.put(100, "videoCover");
            sKeys.put(101, Key.VIDEO_ID);
            sKeys.put(102, "videoType");
            sKeys.put(103, "videoUrl");
            sKeys.put(104, "watched");
            sKeys.put(105, "wechat");
            sKeys.put(106, "welfareNum");
            sKeys.put(107, "width");
            sKeys.put(108, "worksNum");
        }
    }

    private static class InnerLayoutIdLookup {
        static final HashMap<String, Integer> sKeys;

        private InnerLayoutIdLookup() {
        }

        static {
            HashMap<String, Integer> hashMap = new HashMap<>(14);
            sKeys = hashMap;
            hashMap.put("layout/activity_city_select_layout_0", Integer.valueOf(C2694R.C2699layout.activity_city_select_layout));
            sKeys.put("layout/activity_dynamic_play_0", Integer.valueOf(C2694R.C2699layout.activity_dynamic_play));
            sKeys.put("layout/activity_engagement_layout_0", Integer.valueOf(C2694R.C2699layout.activity_engagement_layout));
            sKeys.put("layout/activity_official_layout_0", Integer.valueOf(C2694R.C2699layout.activity_official_layout));
            sKeys.put("layout/activity_send_dynamic_layout_0", Integer.valueOf(C2694R.C2699layout.activity_send_dynamic_layout));
            sKeys.put("layout/activity_user_info_layout_0", Integer.valueOf(C2694R.C2699layout.activity_user_info_layout));
            sKeys.put("layout/appointment_recycler_layout_0", Integer.valueOf(C2694R.C2699layout.appointment_recycler_layout));
            sKeys.put("layout/appointment_user_details_0", Integer.valueOf(C2694R.C2699layout.appointment_user_details));
            sKeys.put("layout/fragment_appointment_data_0", Integer.valueOf(C2694R.C2699layout.fragment_appointment_data));
            sKeys.put("layout/fragment_appointment_dynamic_0", Integer.valueOf(C2694R.C2699layout.fragment_appointment_dynamic));
            sKeys.put("layout/fragment_dynamic_0", Integer.valueOf(C2694R.C2699layout.fragment_dynamic));
            sKeys.put("layout/fragment_dynamic_type_0", Integer.valueOf(C2694R.C2699layout.fragment_dynamic_type));
            sKeys.put("layout/fragment_official_0", Integer.valueOf(C2694R.C2699layout.fragment_official));
            sKeys.put("layout/fragment_square_0", Integer.valueOf(C2694R.C2699layout.fragment_square));
        }
    }
}
